package model

import (
	"gitee.com/zaiqiang231/zcamp-service-camp/app/model/meta"
)

type Banner struct {
	meta.RecordModel
	Title    string `json:"title" gorm:"column:title"`
	Pictures string `json:"pictures" gorm:"pictures"` // json 图片
	JumpURL  string `json:"jump_url" gorm:"column:jump_url"`
	Weight   int64  `json:"weight" gorm:"column:weight"`
	Status   int64  `json:"status" gorm:"column:status"`
}

func (Banner) TableName() string {
	return "z_banner"
}
